package com.xiaoshuidi.cloud.module.finance.dal.mysql.finance;

import com.xiaoshuidi.cloud.framework.mybatis.core.mapper.BaseMapperX;
import com.xiaoshuidi.cloud.module.finance.dal.dataobject.finance.FinanceBankDO;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface FinanceBankMapper extends BaseMapperX<FinanceBankDO> {
    default FinanceBankDO selectByBankCode(String bankCode) {
        return selectOne("bank_code", bankCode);
    }
}
